package cn.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentVo {
    @ApiModelProperty(value = "评论ID",required = true,example = "1")
    private Integer id;
    @ApiModelProperty(value = "评论内容",required = true,example = "写的不错")
    private String content;
    @ApiModelProperty(value = "评论时间",required = true,example = "2022年12月1号 11点23分15秒")
    @JsonFormat(pattern = "yyyy年MM月dd号 HH点mm分ss秒")
    private Date created;
    @ApiModelProperty(value = "评论用户",required = true,example = "伟超")
    private String nickname;



}
